package com.nengchuan.kbms.common;

import com.nengchuan.tree.model.NcTreeNode;
import io.swagger.annotations.ApiModelProperty;

public class DfsTreeNode extends NcTreeNode {

    @ApiModelProperty(value = "图表类", position = 10)
    private String icon;

    @ApiModelProperty(value = "是否叶子节点", position = 20)
    private boolean leaf;

    @ApiModelProperty(value = "前端路由用，用于区分", position = 30)
    private String part;

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public boolean isLeaf() {
        return leaf;
    }

    public void setLeaf(boolean leaf) {
        this.leaf = leaf;
    }

    public String getPart() {
        return part;
    }

    public void setPart(String part) {
        this.part = part;
    }

}
